package net.lookyou.log.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service
public class TestService {

    private final Logger logger = LoggerFactory.getLogger(this.getClass());

    public void sayHi(){
        logger.trace("trace信息 sayHi");
        logger.debug("debug信息 sayHi");
        logger.warn("warn信息 sayHi");
        logger.info("info信息 sayHi");
        logger.error("error信息 sayHi");
    }
}
